Online Appendix to The Recovery of a Schema Mapping: Bringing Exchanged Data Back

نویسندگان

  • MARCELO ARENAS
  • CRISTIAN RIVEROS
چکیده

To prove the lemma, we provide an algorithm that given an st-mapping M = (S,T,Σ) such that Σ is a set of FO-TO-CQ dependencies, and a conjunctive query Q over schema T, computes a queryQ that is a rewriting of Q over the source schema S. We first introduce the terminology used in the algorithm. The basic notion used in the algorithm is that of existential replacement. In an existential replacement of a formula β, we are allowed to existentially quantify some of the positions of the free variables of β. For example, if β(x1, x2, x3) = P (x1, x2) ∧ R(x2, x3), then two existential replacements of β(x1, x2, x3) are γ1(x2) = ∃u∃v (P (u, x2) ∧ R(x2, v)) and γ2(x1, x2, x3) = ∃z (P (x1, z) ∧ R(x2, x3)). We note that both γ1 and γ2 are implied by β. In an existential replacement, we are also allowed to use the same quantifier for different positions. For example, γ3(x2) = ∃w (P (w, x2) ∧ R(x2, w)) is also an existential replacement of β. We note that γ3 is implied by β if x1 and x3 have the same value, that is, β(x1, x2, x3) ∧ x1 = x3 implies γ3. In an existential replacement, these equalities are also included. Formally, given a formula β(x̄) where x̄ = (x1, . . . , xk) is a tuple of distinct variables, an existential replacement of β(x̄) is a pair of formulas (∃z̄ γ(x̄, z̄), θ(x̄)), where: (1) ∃z̄ γ(x̄, z̄) is obtained from β(x̄) by existentially quantifying some of the positions of the free variables of β(x̄), and z̄ is the tuple of fresh variables used in these quantifications, (2) θ(x̄) is a conjunction of equalities such that xi = xj is in θ (1 ≤ i, j ≤ k and i 6= j) if we replace a position with variable xi and a position with variable xj by the same variable z from z̄, and (3) x̄ ′ and x̄ are the tuples of free variables of ∃z̄ γ(x̄, z̄) and θ(x̄), respectively. Notice that ∃z̄ γ(x̄, z̄) is a logical consequence

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Persian Cultural Schema: Compliment Response Strategies on Social Networking SitesAmong Persian EFL Learners

Introduction of Cultural Linguistics in the modern ages of communication can address the issue of cultural schema transfer in online communication. Despite a good number of studies on a compliment, this pragmatic behavior has not been examined in the context of online communications such as social networking sites where compliments are commonly paid and received. The present study aimed to exam...

متن کامل

From XML Schema to Relations: A Cost-Based Approach to XML Storage

XML has become an important medium for data representation, particularly when that data is exchanged over or browsed on the Internet. As the volume of XML data increases, there is a growing interest in storing XML in relational databases so that the well-developed features of these systems (e.g., concurrency control, crash recovery, query processors) can be re-used. However, given the wide vari...

متن کامل

An Improved Semantic Schema Matching Approach

Schema matching is a critical step in many applications, such as data warehouse loading, Online Analytical Process (OLAP), Data mining, semantic web [2] and schema integration. This task is defined for finding the semantic correspondences between elements of two schemas. Recently, schema matching has found considerable interest in both research and practice. In this paper, we present a new impr...

متن کامل

The effect of online yoga exercises on function, pain and disability of women with nonspecific chronic low back pain in Covid Pandemic 19

Background: The aim of this study was to evaluate the effect of online yoga exercises on pain, functional disability and functional tests of the torso and lumbar in middle-aged women with nonspecific chronic low back pain in the Covid 19 pandemic. Methods: The research was quasi-experimental and applied study. Thirty women with nonspecific chronic low back pain in the age range of 35 to 55 ye...

متن کامل

Compare the Effectiveness of Cognitive- Behavior Therapy and Schema Therapy on reducing the cognitive error of pain catastrophizing and increase of pain self- efficacy in Tehranian Patients with Chronic Low Back Pain

 Aims and background: The aim of the present study was to compare the effectiveness of cognitive- behavior therapy (CBT) and schema therapy (ST) on the reduction of cognitive error of pain catastrophizing and increase of pain self- efficacy of Tehranian patients with chronic back pain. Materials and methods: The present study was aquasi-experimental design that conducted in the form of pretest,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009